package parttern.singleton;

public class SingleInstanceHungry {

    private static SingleInstanceHungry instance = new SingleInstanceHungry();

    private SingleInstanceHungry() {

    }

    public static SingleInstanceHungry getInstance() {
        return instance;
    }

    public void show() {
        System.out.println("SingleInstanceHungry show():" + this.hashCode());
    }
}
